dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8782a
)
Move protection level and protection expiry information for title protection into...
author
Alex Z
<mrzman@users.mediawiki.org>
Sat, 20 Sep 2008 16:08:08 +0000
(16:08 +0000)
committer
Alex Z
<mrzman@users.mediawiki.org>
Sat, 20 Sep 2008 16:08:08 +0000
(16:08 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
2639e9f
..
e2be4e7
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1403,7
+1403,8
@@
class Title {
$log = new LogPage( 'protect' );
if( $create_perm ) {
- $log->addEntry( $this->mRestrictions['create'] ? 'modify' : 'protect', $this, trim( $reason . " [create=$create_perm] $expiry_description" ) );
+ $params = array("[create=$create_perm] $expiry_description",'');
+ $log->addEntry( $this->mRestrictions['create'] ? 'modify' : 'protect', $this, trim( $reason ), $params );
} else {
$log->addEntry( 'unprotect', $this, $reason );
}